﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Net;

namespace WeFeTeLib
{
    /// <summary>
    /// Defined the default responses when we try to access to a default MVC framework folder
    /// </summary>
    public class Folder
    {
        string name;
        HttpStatusCode status;

        /// <summary>
        /// Generate a new Folder object to test.
        /// </summary>
        /// <param name="Name">The name of the folder (it can be with and without / at the end)</param>
        /// <param name="HTTPStatus">The HTTP Status Code that the server responses when we try to acces to the folder.</param>
        public Folder(string Name, HttpStatusCode HTTPStatus)
        {
            name = Name;
            status = HTTPStatus;
        }

        /// <summary>
        /// The name of the folder
        /// </summary>
        public string Name
        {
            get { return name; }
        }

        /// <summary>
        /// The HTTP Status Code served by the web server when the request is made
        /// </summary>
        public HttpStatusCode HTTPStatus
        {
            get { return status; }
        }
    }
}
